import Mock from 'mockjs';


Mock.mock(/api.com\/[a-z]+/, (option) => {
  if (option.type === 'GET') {
    if (option.url === 'api.com/usr') {
      return Mock.mock({
        'data|10': [{ pid: '@guid' }],
      });
    }
  }
  if (option.type === 'POST') {

  }
});
